<%@page import="javax.print.DocFlavor.STRING"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../../common/prama.jsp" %>
<%
	HashMap<String, Object> model = (HashMap<String, Object>)request.getAttribute("model");
	List<HashMap<String, Object>> list = (List<HashMap<String, Object>>)request.getAttribute("list");
%>
<div class="userInformation">
	<div style="text-align: center;font-family: 微软雅黑;font-size: 25px;color: #383838;">有奖报警详情</div>
	<table>
		<tr>
			<td colspan="2">
				<div>
					<%
						for(int i = 0; i < list.size(); i++){
							if("img".equals(list.get(i).get("FILETYPE").toString())){
								String url = list.get(i).get("SMALLIMGURL") + "";
					%>
					<img style="width: 150px;height: 230px;" src="${BaseUrl }/<%=url %>"/>
					<%
							}
						}
					%>
				</div>
			</td>
		</tr>
		<tr>
			<th>报警人</th>
			<td>${model.SHOWNAME }</td>
		</tr>
		<tr>
			<th>报警地址</th>
			<td>${model.ADDR }</td>
		</tr>
		<tr>
			<th>报警内容</th>
			<td>
				<textarea rows="5" cols="50">${model.CONTENT }</textarea>
			</td>
		</tr>
		<tr>
			<th>报警坐标</th>
			<td>（${model.MAPX }，${model.MAPY }）</td>
		</tr>
		<tr>
			<th>报警时间</th>
			<td>${model.CREATE_TIME }</td>
		</tr>
	</table>
</div>